<!DOCTYPE html>
<html lang="en" class="dark">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      * {
        margin: 0;
        padding: 0;
      }
      .login {
        background: linear-gradient(303deg, #48c6ef 10%, #6f86d6 80%);
        height: 100vh;
        width: 100%;
        display: flex;
        flex-direction: column;
      }
      .header {
        height: 80px;
        position: relative;
      }
      .icon {
        width: 30px;
        height: 30px;
        background-color: yellow;
        position: absolute;
        margin: auto;
        margin-right: 20px;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
      }
      .middle {
        flex: 1;
      }
      .footer {
        text-align: center;
        line-height: 80px;
        height: 80px;
        color: #fff;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 13px;
        letter-spacing: 1px;
      }
    </style>
  </head>
  <body>
    <div class="login">
      <!-- 头部 -->
      <div class="header">
        <div class="icon">icon</div>
      </div>
      <!-- 中间 -->
      <div class="middle">
        <div class="form"></div>
      </div>
      <!-- 底部 -->
      <div class="footer">
        <span>Copyright &copy; 2022 ys All Rights Reserved</span>
      </div>
    </div>
  </body>
</html>
